home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr47 / fn32_3.zip / CP.DOC < prev    next >
Text File  |  1993-02-07  |  2KB  |  36 lines

  1. Usage: cp
  2.     [-abdfipruvxDR] [-S backup-suffix] [-V {numbered,existing,simple}]
  3.     [+archive] [+backup] [+force] [+interactive] [+one-file-system]
  4.     [+preserve] [+recursive] [+update] [+verbose] [+suffix backup-suffix]
  5.     [+version-control {numbered,existing,simple}] src... dst
  6.  
  7.       Switch ------------------- Meaning
  8.       a, +archive                Copy files with archive bit set [NEW]
  9.       b, +backup                 Make backups
  10.       d, +duplicate              Duplicate full src path under dst path [NEW]
  11.       f, +force                  Force write permissions and overwrites
  12.       i, +interactive            Query overwrites
  13.       p, +preserve               Preserve times and permissions
  14.       r, +recursive              Recursive copy of directories
  15.       u, +update                 Overwrite older files
  16.       v, +verbose                Print each filename
  17.       x, +one-file-system        Do not cross file systems
  18.       D,                         Duplicate src path under dst, see 'R' [NEW]
  19.       R,                         Recursive copy, w/o contents of special files
  20.       S, +suffix backup_suffix   Specify the backup suffix (default=~)
  21.       V, +version-control nu,e,s Override the Emacs VERSION-CONTROL variable
  22.  
  23.     Backups are defaulted to numbered e.g. file.c.~123~. You will need 'FN32'.
  24.     
  25.     The archive bit is cleared if -d, -b or -u are used.
  26.  
  27.     Save all .h files on the c: partition to the directory b:/include
  28.     and clear the archive bit.
  29.         cp -ap c:/**/*.h b:/include    
  30.  
  31.     Save all .h files on the c: partition, to duplicate paths on b:
  32.     and clear archive bit.
  33.         cp -adp c:/**/*.h b:/
  34.     
  35.     
  36.